#ifndef QBOOLEDITOR_H
#define QBOOLEDITOR_H

#include "qcommoneditor.h"

class PROPERTY_EDITORSHARED_EXPORT QBoolEditor : public QCommonEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QBoolEditor(QAbstractProperty* property,QWidget *parent = 0);
protected:
    bool eventFilter(QObject *, QEvent *);
    void mousePressEvent(QMouseEvent *);

    void    set_value(const QVariant &value);
    
};

#endif // QBOOLEDITOR_H
